package com.model;

import java.util.Date;

import com.audit.AuditOutput;
import com.audit.annotation.AuditDate;
import com.audit.annotation.AuditUser;

public class ApplianceOsAudit implements AuditOutput {
	private Long applianceOsAuditId;
	private Long applianceOsAuditEntityId;
	private String applianceOsAuditShortName;
	private String applianceOsAuditFullName;
	private Double applianceOsAuditPricePh;
    @AuditDate
	private Date applianceOsAuditDate;
    @AuditUser
	private Long applianceOsAuditUserId;
	private Boolean applianceOsAuditDeleted;
	private String applianceOsAuditComment;
	private String applianceOsAuditDescription;

	public ApplianceOsAudit() {
	}

	public Long getApplianceOsAuditId() {
		return this.applianceOsAuditId;
	}

	public void setApplianceOsAuditId(Long applianceOsAuditId) {
		this.applianceOsAuditId = applianceOsAuditId;
	}

	public Long getApplianceOsAuditEntityId() {
		return this.applianceOsAuditEntityId;
	}

	public void setApplianceOsAuditEntityId(Long applianceOsAuditEntityId) {
		this.applianceOsAuditEntityId = applianceOsAuditEntityId;
	}

	public String getApplianceOsAuditShortName() {
		return this.applianceOsAuditShortName;
	}

	public void setApplianceOsAuditShortName(String applianceOsAuditShortName) {
		this.applianceOsAuditShortName = applianceOsAuditShortName;
	}

	public String getApplianceOsAuditFullName() {
		return this.applianceOsAuditFullName;
	}

	public void setApplianceOsAuditFullName(String applianceOsAuditFullName) {
		this.applianceOsAuditFullName = applianceOsAuditFullName;
	}

	public Double getApplianceOsAuditPricePh() {
		return this.applianceOsAuditPricePh;
	}

	public void setApplianceOsAuditPricePh(Double applianceOsAuditPricePh) {
		this.applianceOsAuditPricePh = applianceOsAuditPricePh;
	}

	public Date getApplianceOsAuditDate() {
		return this.applianceOsAuditDate;
	}

	public void setApplianceOsAuditDate(Date applianceOsAuditDate) {
		this.applianceOsAuditDate = applianceOsAuditDate;
	}

	public Long getApplianceOsAuditUserId() {
		return this.applianceOsAuditUserId;
	}

	public void setApplianceOsAuditUserId(Long applianceOsAuditUserId) {
		this.applianceOsAuditUserId = applianceOsAuditUserId;
	}

	public Boolean getApplianceOsAuditDeleted() {
		return this.applianceOsAuditDeleted;
	}

	public void setApplianceOsAuditDeleted(Boolean applianceOsAuditDeleted) {
		this.applianceOsAuditDeleted = applianceOsAuditDeleted;
	}

	public String getApplianceOsAuditComment() {
		return this.applianceOsAuditComment;
	}

	public void setApplianceOsAuditComment(String applianceOsAuditComment) {
		this.applianceOsAuditComment = applianceOsAuditComment;
	}

	public String getApplianceOsAuditDescription() {
		return this.applianceOsAuditDescription;
	}

	public void setApplianceOsAuditDescription(String applianceOsAuditDescription) {
		this.applianceOsAuditDescription = applianceOsAuditDescription;
	}

	@Override
	public String output() {
		StringBuilder properties = new StringBuilder()
//		.append("applianceOsAuditEntityId").append("=").append(applianceOsAuditEntityId).append("\n")
        .append("applianceOsAuditId").append("=").append(applianceOsAuditId).append("\n")
		.append("applianceOsAuditShortName").append("=").append(applianceOsAuditShortName).append("\n")
		.append("applianceOsAuditFullName").append("=").append(applianceOsAuditFullName).append("\n")
		.append("applianceOsAuditPricePh").append("=").append(applianceOsAuditPricePh).append("\n")
		.append("applianceOsAuditDate").append("=").append(applianceOsAuditDate).append("\n")
		.append("applianceOsAuditUserId").append("=").append(applianceOsAuditUserId).append("\n")
		.append("applianceOsAuditDeleted").append("=").append(applianceOsAuditDeleted).append("\n")
		.append("applianceOsAuditComment").append("=").append(applianceOsAuditComment).append("\n")
		.append("applianceOsAuditDescription").append("=").append(applianceOsAuditShortName).append("\n");
		//TODO add the rest properties here
		return properties.toString();
	}

}